/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ucjava.chat.commserve.rmi.common;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * This interface describes the method
 * the server calls to send a message to the client.
 * The name of the method reflects the client's point
 * of view -- the client is the one receiving the message.
 * @author tony
 */
public interface IChatClientRMI extends Remote
{
    void receiveMessage(Message msg) throws RemoteException;
    PrivacySettings getPrivacySetting() throws RemoteException;
}
